package com.haiya.factory.method.farm.factory;

import com.haiya.factory.method.farm.animal.Animal;
import com.haiya.factory.method.farm.animal.Horse;

public class HorseFarm implements Farm {
    @Override
    public Animal newAnimal() {
        return new Horse();
    }
}
